/**
 * 
 */
package kr.co.insoft.core.mapper.template.application;

import java.util.List;
import java.util.Map;

import kr.co.insoft.core.model.paging.PagingModel;
import kr.co.insoft.core.model.template.application.ParamEntityModel;
import kr.co.insoft.framework.mapper.UUIDMapper;
import kr.co.insoft.framework.mybatis.Mapper;

/**
 * @author IN-SOFT Inc. Park Jong Taek(jtpark@in-soft.co.kr)
 * 
 */
@Mapper
public interface ParamMapper extends UUIDMapper {

	/**
	 * Param Paging 목록
	 * 
	 * @param pagingModel
	 * @return 
	 * @throws Exception
	 */
	public List<ParamEntityModel> getPagingList(PagingModel pagingModel)
			throws Exception;
	
	/**
	 * Param 목록
	 * 
	 * @param
	 * @return 
	 * @throws Exception
	 */
	public List<ParamEntityModel> getList(Map<String, Object> param)
			throws Exception;

	/**
	 * Param 전체 카운트
	 * 
	 * @param pagingModel
	 * @return 
	 * @throws Exception
	 */
	public int getTotalCount(PagingModel pagingModel) throws Exception;

	/**
	 * Param 정보
	 * 
	 * @param paramEntityModel
	 * @return 
	 * @throws Exception
	 */
	public ParamEntityModel getParam(
			ParamEntityModel paramEntityModel) throws Exception;

	/**
	 * Param 생성
	 * 
	 * @param paramEntityModel
	 * @throws Exception
	 */
	public void createParam(ParamEntityModel ParamEntityModel)
			throws Exception;
	
	/**
	 * Param 삭제
	 * 
	 * @param paramEntityModel
	 * @throws Exception
	 */
	public void doRemoveParam(Map<String, Object> param)
			throws Exception;
	
	/**
	 * Param 수정
	 * 
	 * @param paramEntityModel
	 * @throws Exception
	 */
	public void doEditParam(ParamEntityModel ParamEntityModel)
			throws Exception;
	
	/**
	 * Param Name 중복 체크
	 * @param paramEntityModel
	 * @return int
	 * @throws Exception
	 */
	public int isExistParamName(ParamEntityModel ParamEntityModel)
			throws Exception;
	
}
